package com.dao;

import java.io.Serializable;
import java.util.List;

import com.enetiy.Logins;
import com.enetiy.Users;

public interface LoginDao {
	//添加用户
	public Serializable insertUsers(Users u ) throws Exception;
	//添加登陆信息
	public Serializable insertLogins(Logins l) throws Exception;
	//查询用户
	public Users selectUserId(int id) throws Exception;
	//修改用户
	public void updateUser(Users u) throws Exception;
	//根据用户Id数组查询用户集合
	public List<Users>  selectUserList(String [] userid) throws Exception; 
	//根据游客唯一码soleCode查询用户
	public Users selectUser(String soleCode) throws Exception;
	////根据牛号查询用户
	public Users selectUser(int niunum) throws Exception;
	
}
